home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / sound / vlm5030.h < prev    next >
C/C++ Source or Header  |  2000-04-04  |  1KB  |  35 lines

  1. #ifndef VLM5030_h
  2. #define VLM5030_h
  3.  
  4. struct VLM5030interface
  5. {
  6.     int baseclock;      /* master clock (normaly 3.58MHz) */
  7.     int volume;         /* volume                         */
  8.     int memory_region;  /* memory region of speech rom    */
  9.     int memory_size;    /* memory size of speech rom (0=memory region length) */
  10.     int vcu;            /* vcu pin level                  */
  11.     const char **samplenames;    /* optional samples to replace emulation */
  12. };
  13.  
  14. /* use sampling data when speech_rom == 0 */
  15. int VLM5030_sh_start(const struct MachineSound *msound);
  16. void VLM5030_sh_stop (void);
  17. void VLM5030_sh_update (void);
  18.  
  19. /* set speech rom address */
  20. void VLM5030_set_rom(void *speech_rom);
  21.  
  22. /* get BSY pin level */
  23. int VLM5030_BSY(void);
  24. /* latch contoll data */
  25. WRITE_HANDLER( VLM5030_data_w );
  26. /* set RST pin level : reset / set table address A8-A15 */
  27. void VLM5030_RST (int pin );
  28. /* set VCU pin level : ?? unknown */
  29. void VLM5030_VCU(int pin );
  30. /* set ST pin level  : set table address A0-A7 / start speech */
  31. void VLM5030_ST(int pin );
  32.  
  33. #endif
  34.  
  35.